# version2
oj_server:oj_server.cc
	g++ -o $@ $^ -std=c++11 -lpthread -lctemplate -ljsoncpp -L /lib64/mysql -lmysqlclient
.PHONY:clean
clean:
	rm -rf oj_server


# version1
# oj_server:oj_server.cc
# 	g++ -o $@ $^ -std=c++11 -lpthread -lctemplate -ljsoncpp
# .PHONY:clean
# clean:
# 	rm -rf oj_server